<div class="main">
    <div class="main_center">
        <div class="conext">
            <ul class="menu_container">

                {foreach $category_list as $category}


                <li class="{$category['class']}">
                    <a class="driled_links" href="{$category['link']}" onclick="show_sub_items1()">{$category['title']}</a>  <!---http://door-market/ -->
                </li>
                <ul class="menu_category_container sub_items1 sub_items"  style="{$category['style']}">
                    {foreach $category.sub as $sub_category}

                        <li class="{$sub_category['class']}" id="entrancedoors">
                            <a href="{$sub_category['link']}" class="subcategory_link">{$sub_category['title']}</a>
                            <span class="sub_item_count">(225)</span>
                        </li>
                    {/foreach}

                    </li>

                </ul>
                {/foreach}


            </ul>

        </div>
        <div class="content">

            <div id="pathway">
                <ul>
                    <li itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb">
                        <a href="javascript:;" itemprop="url" class="link_to_main" id ="link_to_main">
                            <span itemprop="title">Головна</span>
                        </a>
                    </li>
                    <li>
                        <i>
                            »
                        </i>
                    </li>
                    <li itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb">
                        <a href="javascript:;" itemprop="url">
                            <span itemprop="title">Двері</span>
                        </a>
                    </li>
                    <li>
                        <i>
                            »
                        </i>
                    </li>
                    <li>
                        <span>Вхідні</span>
                    </li>

                </ul>
            </div>

            <div class="spliter">
                <hr size="1" noshade>
            </div>
            <div class="content-header">
                <div class="curr_category">
                    <h2 class="oth">Двері</h2>
                </div>

                <div class="spliter">
                    <hr size="1" noshade>
                </div>

                <div class="totals_and_paging">
                    <div class="totals">
                        <div class="NumResultsName"> Всьго позицій: </div>


                        <div class="NumResultsValue"> {$total_items_count} </div>
                    </div>
                    <div class="paging">


                        <section class="archive-pages">
                            <ul>

                               {* <li class="first"   ><a href="#{$pages['start_page']}" title="first page"   >first page</a></li>
                                <li class="previous"><a href="#{$pages['start_page']}" title="previous page">previous page</a></li>*}
                                {foreach $pages as $p}

                                    <li class="{$p['class']}" id="1"><a href="{$p['link']}" class="{$p['disable']}" title="Pagina {$p['title']}">{$p['title']}</a></li>
                                {/foreach}
                                {*
                                <li class="{$pages['1_page']['class']}" id="1"><a href="#{$pages['1_page']['value']}" title="Pagina 1">1</a></li>
                                <li class="{$pages['2_page']['class']}" id="2"><a href="#{$pages['2_page']['value']}" title="Pagina 2">2</a></li>
                                <li class="{$pages['3_page']['class']}" id="3"><a href="#{$pages['3_page']['value']}" title="Pagina 3">3</a></li>
                                <li class="{$pages['4_page']['class']}" id="4"><a href="#{$pages['4_page']['value']}" title="Pagina 4">4</a></li>
                                <li class="{$pages['5_page']['class']}" id="5"><a href="#{$pages['5_page']['value']}" title="Pagina 5">5</a></li>*}
                              {*  <li class="next"><a href="#{$pages['next_page']}" title="next page">next page</a></li>
                                <li class="last"><a href="#{$pages['last_page']}" title="last page">last page</a></li>*}
                            </ul>
                        </section>

                    </div>
                </div>

                <div class="spliter">
                    <hr size="1" noshade>
                </div>

           
            <div class="spliter">
                <hr size="1" noshade>
            </div>


            <div class="filter">
                <span> Сортувати: </span>
                <form method="get" action="" style="float:left;">

                    <select name="sort" id="order_select" onchange="if (this.value) window.location.href=this.value">
                        {foreach $sort_list as $sort_item}
                            <option value="{$sort_item['link']}" {$sort_item['class']}="">{$sort_item['title']}</option>
                        {/foreach}
                    </select>

                    {*<select name="sort" id="order_select">
                        <option value="poz" selected="">за замовчуванням</option>
                        <option value="voz">за зростанням ціни</option>
                        <option value="ub">от дорогих к дешевым</option>
                        <option value="pop">популярные</option>
                        <option value="new">новинки</option>
                        <option value="akciya">акции</option>
                    </select>*}
                </form>
            </div>
            <div class="right">
                <span>Показувати по:</span>
                <select name="PageSize" class="pageSize" onchange="if (this.value) window.location.href=this.value">
                    {foreach $page_size_list as $size_item}
                        <option value="{$size_item['link']}" {$size_item['class']}="">{$size_item['title']}</option>
                    {/foreach}
                </select>
            </div>

        <div class="spliter">
            <hr size="1" noshade>
        </div>
        <div class="catalog-section">

            <!-----------------
             </div>
			 </div>
			 </div>
			 
        </div>
    </div>
    -->
